﻿namespace CatFax.Entities
{
    /// <summary>
    /// Table storage entity class for audit rows
    /// </summary>
    public class AuditRowEntity : Microsoft.Samples.ServiceHosting.StorageClient.TableStorageEntity
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AuditRowEntity"/> class.
        /// </summary>
        public AuditRowEntity()
        {
            this.CreatedDate = System.DateTime.Now;
        }
        
        /// <summary>
        /// Gets or sets RowData (xml in string)
        /// </summary>
        public string RowData { get; set; }

        /// <summary>
        /// Gets or sets CreatedDate.
        /// </summary>
        public System.DateTime CreatedDate { get; set; }
    }
}
